package com.workcell.workdata.im.component.event;

import com.workcell.workdata.im.entity.Message;
import org.springframework.context.ApplicationEvent;

public class RevokerMessageEvent extends ApplicationEvent {

    /*
     * 谁操作了撤回消息
     */
    private final long uid;
    private final Message message;
    public RevokerMessageEvent(long uid,Message message) {
        super("");
        this.uid = uid;
        this.message = message;
    }

    public Message getMessage() {
        return message;
    }

    public long getUid() {
        return uid;
    }
}
